package org.smart4j.chapter2.controller;

import org.smart4j.chapter2.model.Customer;
import org.smart4j.chapter2.service.CustomerService;

/**
 *从多Servlet 并成一个Controller来处理？
 */
//@Controller
public class CustomerController {

//    @Inject
//    private CustomerService customerService;
//
//    /**
//     * 进入界面
//     */
//    public View index(Param param){
//        List<Customer> customerList = customerService.getCustomerList();
//        return new View("customer.jsp").addModel("customerList",customerList);
//    }
}
